package com.springboot.cloud.seckill.service;

/**
 * @author godyao
 * @date 2022/3/26
 */
public interface ISeckillService {
    /**
     * 检验url code的合法性
     * @param code
     * @param goodsId
     * @return
     */
    boolean checkUrlInvalid(String code, Long goodsId);

    Object secKill(Long goodsId);
}
